package net.zoneland.knowledge.controller.bean;

/**
 * 组织信息.
 * @author zmq
 * @date 2021/8/17 10:25
 */
public class OrganizeInfoVo {
    /**
     * dn.
     */
    private String dn;
    /**
     * 名称.
     */
    private String name;

    public OrganizeInfoVo() {
    }

    public OrganizeInfoVo(String dn, String name) {
        this.dn = dn;
        this.name = name;
    }

    public String getDn() {
        return dn;
    }

    public void setDn(String dn) {
        this.dn = dn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    /**
     * Returns a string representation of the object. In general, the
     * {@code toString} method returns a string that
     * "textually represents" this object. The result should
     * be a concise but informative representation that is easy for a
     * person to read.
     * It is recommended that all subclasses override this method.
     * <p>
     * The {@code toString} method for class {@code Object}
     * returns a string consisting of the name of the class of which the
     * object is an instance, the at-sign character `{@code @}', and
     * the unsigned hexadecimal representation of the hash code of the
     * object. In other words, this method returns a string equal to the
     * value of:
     * <blockquote>
     * <pre>
     * getClass().getName() + '@' + Integer.toHexString(hashCode())
     * </pre></blockquote>
     *
     * @return a string representation of the object.
     */
    @Override
    public String toString() {
        return "OrganizeInfoVo[" +
                "dn=" + this.dn +
                ",name=" + this.name +
                "]";
    }
}
